package com.phantasy.proto
{
	import com.phantasy.Message;
	
	import flash.net.registerClassAlias;
	
	public class p_map_monster extends Message
	{
		public var monsterid:int = 0;
		public var typeid:int = 0;
		public var state:int = 0;
		public var mapid:int = 0;
		public var hp:int = 0;
		public var mp:int = 0;
		public var pos:p_pos = null;
		public var max_mp:int = 0;
		public var max_hp:int = 0;
		public var move_speed:int = 0;
		public var last_walk_path:p_walk_path = null;
		public var state_buffs:Array;
		public var monster_name:String = "";
		public var is_variation:Boolean = true;
		public var map_camp:int = 2;
		public var soullv:int = 0;
		public var fight:int = 0;
		
		public function p_map_monster()
		{
			this.state_buffs = new Array();
			super();
			registerClassAlias("p.p_map_monster", p_map_monster);
		}
		
		override public function getMethodName():String
		{
			return ("map_mon");
		}
		
		override public function getClassName():String
		{
			return ("p_map_monster");
		}
		
		override public function getAttributes():Array
		{
			return ([["monsterid", "int", "null"], ["typeid", "int", "null"], ["state", "int", "null"], ["mapid", "int", "null"], ["hp", "int", "null"], ["mp", "int", "null"], ["pos", "p_pos", "null"], ["max_mp", "int", "null"], ["max_hp", "int", "null"], ["move_speed", "int", "null"], ["last_walk_path", "p_walk_path", "null"], ["state_buffs", "array", "p_actor_buf"], ["monster_name", "String", "null"], ["is_variation", "Boolean", "null"], ["map_camp", "int", "null"], ["soullv", "int", "null"], ["fight", "int", "null"]]);
		}
	}
}